<div id="node-<?php print $node->nid; ?>" class="product <?php print $classes; ?>"<?php print $attributes; ?>>
	
	  <?php print render($title_prefix); ?>
	  <?php if (!$page): ?>
	     <h2<?php print $title_attributes; ?>><a href="<?php print $node_url; ?>"><?php print $title; ?></a></h2>
	  <?php endif; ?>
	  <?php print render($title_suffix); ?>
	
	  <?php if ($display_submitted): ?>
	    <span class="submitted">
	    <?php print $submitted; ?>
	    </span>
	  <?php endif; ?>
	
	  <div class="content clearfix"<?php print $content_attributes; ?>>
	    <?php
	      // We hide the comments and links now so that we can render them later.
	      //hide($content['comments']);
	      //hide($content['links']);
		  //print_r($content['add_to_cart']);
	    ?>
	  </div>
  
	<div class="images">
      	<?php 
      		print render($content['uc_product_image'][0]);
			unset($content['uc_product_image'][0]);
      	?>
		<!--a title="m1" rel="thumbnails" class="zoom" href="http://labs.saurabh-sharma.net/themes/xing/wp/wp-content/uploads/2012/09/m1.jpg" itemprop="image"><img width="370" height="404" title="m1" alt="m1" class="attachment-shop_single wp-post-image" src="http://labs.saurabh-sharma.net/themes/xing/wp/wp-content/uploads/2012/09/m1.jpg"></a-->
		<div class="thumbnails"></div>
	</div>
	<div class="summary">
		<h1 class="product_title entry-title"><?php print $title; ?></h1>
		<div>
			<p class="price">
				<?php if($content['list_price']['#value'] >0) { ?>
					<span class="onsale">Sale!</span>
					<del><span class="amount"><?php print uc_currency_format($content['list_price']['#value']); ?></span></del>
				<?php }?>
				<ins><?php print uc_currency_format($content['sell_price']['#value']); ?></ins>
			</p>
		</div>
		<div>
             <?php print render($content['body']);?>
		</div>
		
		<div class="cart alt" style="margin-bottom:20px;">
			<?php print render($content['add_to_cart']);?>
		</div>
		<div class="product_meta">
			 <span class="posted_in">
			 	<?php print t('Category ') ?>:
			 	<ul>
			 	<?php 
			 	for($i=0; $i<count($node->taxonomy_catalog['und']); $i++ ) {?>
			 		<li class="tag-list"><?php print $node->taxonomy_catalog['und'][$i]['taxonomy_term']->name; ?></li>
				<?php } ?>
				</ul>
		</div>
	</div><!-- .summary -->


	<div class="woocommerce_tabs">
		<ul class="tabs">
			<li class="description_tab active"><a href="#tab-description"><?php print t('Product Description') ?> </a></li>
			<li class="attributes_tab"><a href="#tab-attributes"><?php print t('Additional Information') ?></a></li>
		</ul>
		<div id="tab-description" class="panel entry-content" style="display: none;">
			<h4><?php print t('Some picture description'); ?> </h4>
			<?php if(isset($content['uc_product_image'][1])) {
				$images = $node->uc_product_image['und'];
				for($i=0; $i<count($images); $i++ ) {
					print render($content['uc_product_image'][$i]);
				}
             }?>
		</div>
		<div id="tab-attributes" class="panel entry-content" style="display: none;">
			<table class="shop_attributes">
				<tbody>
					<tr class="">
						<th><?php print t('Size') ?></th>
						<td><p><?php print $node->size; ?></p></td>
					</tr>
					<tr class="alt">
						<th><?php print t('Color'); ?></th>
						<td><p><?php print $node->color; ?></p></td>
					</tr>
					<tr>
						<th><?php print t('Price'); ?></th>
						<td><p><?php print uc_currency_format($content['sell_price']['#value']); ?></p></td>
					</tr>
				</tbody>
			</table>
		</div>
	</div><!--tab-->
	
	
  <div class="clearfix">
    <?php if (!empty($content['links'])): ?>
      <div class="links"><?php //print render($content['links']); ?></div>
    <?php endif; ?>
    
    <?php if ($page != 0): ?>
      <?php if ($submitted): ?>
          <?php  print $shopa_postfooter; ?>
      <?php endif; ?>
    <?php endif; ?>

    <?php if (!empty($content['comments'])): ?>
      <?php //print render($content['comments']); ?>
    <?php endif; ?>
  </div>
</div>



